CC=arm-linux-gnueabihf-gcc
#FLAGS= -Wall -I/home/yfei/qkd_lib/libcgi-1.0-arm/install -L/home/yfei/qkd_lib/libcgi-1.0-arm/install -lcgi
FLAGS= -Wall -I/home/yfei/qkd_lib/sendlib/include -I/home/yfei/qkd_lib/sendlib/inc -I/home/yfei/qkd_lib/cgic -L/home/yfei/qkd_lib/cgic -lcgic -L/home/yfei/qkd_lib/sendlib -lsend 
CGIBIN=./www/cgi-bin

all:
	@echo start compile
	@echo ---------
#	$(CC) $(FLAGS) cgic.c login.c -o $(CGIBIN)/login.cgi
#	$(CC) $(FLAGS) sbxx.c -o $(CGIBIN)/sbxx.cgi
#	$(CC) $(FLAGS) main.c -o $(CGIBIN)/main.cgi
#	$(CC) $(FLAGS) sbsz_post.c -o $(CGIBIN)/sbsz_post.cgi
#	$(CC) $(FLAGS) sbsz_get.c -o $(CGIBIN)/sbsz_get.cgi
#	$(CC) $(FLAGS) cgic.c uname_upass_post.c -o $(CGIBIN)/uname_upass_post.cgi
	$(CC) $(FLAGS) cmm9801.c -o $(CGIBIN)/cmm9801.cgi
	@echo ---------
	@echo finish compile
clean:
	@rm cmm9801.cgi
